package com.sg.bean;

/**
 * @author zl
 * 购物实体类
 */

public class Shop {

    /**
     * 购物车编号
     */
    private int shopId;

    /**
     * 用户编号
     */
    private int uId;

    /**
     * 购物车总价
     */
    private int prices;

    /**
     * 商家编号
     */
    private int businessId;

    @Override
    public String toString() {
        return "Shop{" +
                "shopId=" + shopId +
                ", uId=" + uId +
                ", prices=" + prices +
                ", businessId=" + businessId +
                '}';
    }

    public Shop(int shopId, int uId, int prices, int businessId) {
        this.shopId = shopId;
        this.uId = uId;
        this.prices = prices;
        this.businessId = businessId;
    }

    public Shop() {
    }

    public int getShopId() {
        return shopId;
    }

    public void setShopId(int shopId) {
        this.shopId = shopId;
    }

    public int getuId() {
        return uId;
    }

    public void setuId(int uId) {
        this.uId = uId;
    }

    public int getPrices() {
        return prices;
    }

    public void setPrices(int prices) {
        this.prices = prices;
    }

    public int getBusinessId() {
        return businessId;
    }

    public void setBusinessId(int businessId) {
        this.businessId = businessId;
    }
}
